#{extends 'main.html' /}
#{set title:'Home' /}


#{if errors}
${error}
#{/if}
<div id=main>

<br/> <a class="buttonS purple" href="@{AdvancedSearch.searchHome()}">Back to advanced search </a><br/>
<br/>
 	<a href="@{AdvancedSearch.advancedSearch()}"></a>
			
			
			<form action="@{AdvancedSearch.searchForRelationNames()}" method="GET">

				<span style="color: #c00" class="error">#{error 'search' /}</span><br/>	
			<input placeholder="Search for Relations by name "class=input type="text" id="search" name="search"/>
			<input class="buttonS red" type="submit" id= "submit1" name="search" value="Search" />

		</form>
<br/>
<form target="" action="@{AdvancedSearch.chooseEntityRelation()}" method="GET">



<input class="buttonS red" type="submit" id= "submit2" name="Entity" value="Search for Entity" />

</form>

<br/>
<form target="" action="@{AdvancedSearch.chooseTopicRelation()}" method="GET">

<input class="buttonS red" type="submit" id= "submit3" name="Topic" value="Search for Topic" />

</form>

<br/>
<form  target="" action="@{AdvancedSearch.chooseTagRelation()}" method="GET">



<input  class="buttonS red" type="submit" id= "submit4" name="Tag" value="Search for Tag" />

</form>

</div>
